package work2;

import java.time.LocalDate;
import java.util.List;
public interface IYuangong {
    public void add(Yuangong yuangong);
    public  void  del(String name);
    public  void  update(String name,String zhiwei, int gongzi );
    public List<Yuangong> findAll();//查询 返回一个集合
    public Yuangong findByname(String name);
}
